package com.xcf.service.business.common.shipformation;

import java.util.List;

import com.xcf.entity.Page;
import com.xcf.entity.business.common.ShipFormation;
import com.xcf.util.PageData;

public interface ShipFormationService {
	//列表的查询及显示
		List<ShipFormation> seach(Page pd) throws Exception;
		//查询船名
		List<PageData> seachShip() throws Exception;
		//查询航线
		List<PageData> query() throws Exception;

		
		    //新增一条
			void addship(PageData pd);
			
			//去修改页面
			PageData seacById(PageData pd) throws Exception;
		   
			//修改一条
			void updateShip(PageData pd);
			//查询托单
			PageData search(PageData pd) throws Exception;
			
			
			//查询外贸
			List<PageData> searchForeign()throws Exception;
			List<PageData> searchTrade() throws Exception;
			//查询内贸
			List<PageData> DomesticTrade() throws Exception;
			//查询收款表里是否存在托单编号
			List<PageData> seacByCode(PageData phq) throws Exception;
			//查询付款表里是否存在
			List<PageData> seacByCo(PageData phq)throws Exception;
			
			//新增收款 外贸
			void addsForeign(PageData phq) throws Exception;
			//新增付款 外贸
			void addscope(PageData phq)throws Exception;
			//新增收款 外贸
			void addstrade(PageData phq)throws Exception;
			//新增付款 外贸
			void addtrade(PageData phq)throws Exception;
			//修改收款
			void updateForeign(PageData phq) throws Exception;
			//修改付款
			void updatescope(PageData phq)throws Exception;
			//修改收款
			void updatestrade(PageData phq)throws Exception;
			//修改付款
			void updatetrade(PageData phq)throws Exception;
			//内贸表收款的新增
			void adddome(PageData phq)throws Exception;
			//内贸表付款的新增
			void adddomestic(PageData phq)throws Exception;
			//修改外贸收款表
			void updatedome(PageData phq) throws Exception;
			//修改外贸付款表
			void updatedomestic(PageData phq)throws Exception;
		
			
			
		
			
			
			
		   
			
}
